package cn.zlj.Feign;

import cn.zlj.domain.User;
import org.springframework.stereotype.Component;

@Component
public class UserFeignClientFallback implements UserService {
    @Override
    public User getUser(Long id) {
        return new User(-1L,"熔断","feign");
    }
}
